package com.wanmait.deliverymangementsystem.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.deliverymangementsystem.pojo.Nickname;

import java.util.List;

public interface NicknameService{

    int deleteByPrimaryKey(Integer id);

    int insert(Nickname record);

    int insertSelective(Nickname record);

    Nickname selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Nickname record);

    int updateByPrimaryKey(Nickname record);

    PageInfo<Nickname> findAll(Integer page);
    List<Nickname> findBeforeAdd();

}
